import React from 'react'
import './index.css'

export default function Item({ todo, done }) {
    return (
        <div>
            <li>
                <label>
                    <input type="checkbox"  checked={done}/>
                    <span>{todo}</span>
                </label>
                <button className="btn btn-danger" style={{ display: "none" }}>删除</button>
            </li>
        </div>
    )
}
